﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program01
    {
        static void Main(string[] args)
        {
            Console.WriteLine("我是超人噢！！");
            SuperMan super = new SuperMan();
            super.Eat();
            super.Fly();
            super.Land();
            super.TakeOff();
            Console.WriteLine("-------------");


            Console.WriteLine("我是天鹅噢！！");
            Bird bird = new Bird();
            bird.TakeOff();
            bird.Land();
            bird.Fly();
            bird.LanyEggs();
            bird.Eat();
            Console.WriteLine("-------------");

            Console.WriteLine("我是轰炸机噢！！");
            Plane plane = new Plane();
            plane.Fly();
            plane.CarryPassange();
            plane.Land();
            plane.TakeOff();
            Console.WriteLine("-------------");
        }
    }
}
